import { BasicColumn } from '@/components/Table';

export interface ListData {
  id: number;
  name: string;
  sex: string;
  avatar: string;
  email: string;
  city: string;
  status: string;
  type: string;
  createDate: string;
}

export const columns: BasicColumn<ListData>[] = [
  {
    title: 'id',
    key: 'id',
  },
  {
    title: '部门名称',
    key: 'name',
  },
  {
    title: '说明',
    key: 'explain',
  },
  {
    title: '创建时间',
    key: 'created_at',
  },
];
